/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package freewolf;

import com.puzzud.engine.core.Item2DMoveable;
import java.awt.Point;

/**
 *
 * @author puzzud
 */
public class Person extends Item2DMoveable
{
    public final static int TYPE_ALLIE      = 0;
    public final static int TYPE_NAZI       = 1;
    public final static int TYPE_SS         = 2;
    
    protected Point aim;

    public Person()
    {
        super();

        aim = new Point( 0, 0 );
    }

    public Person( int type )
    {
        this();

        setType( type );
    }
    
    public Point getAim()
    {
        return( aim );
    }

    public int getXAim()
    {
        return( aim.x );
    }

    public int getYAim()
    {
        return( aim.y );
    }

    public void setAim( Point aim )
    {
        this.aim = aim;
    }

    public void setAim( int x, int y )
    {
        setXAim( x );
        setYAim( y );
    }

    public void setXAim( int x )
    {
        aim.x = x;
    }

    public void setYAim( int y )
    {
        aim.y = y;
    }
}
